package com.serkol.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.serkol.ams.bean.MyPage;
import com.serkol.ams.entity.CloudInventory;
import com.serkol.ams.entity.OrderDetail;

import java.util.List;
import java.util.Map;

/**
* @author pingan
* @description 针对表【cloud_inventory】的数据库操作Service
* @createDate 2022-10-23 11:15:45
*/
public interface CloudInventoryService extends IService<CloudInventory> {

    boolean saveOrder( List<OrderDetail> byOrderDetailList);

    List<Map<String, Object>> findByMyCloudList();
    MyPage<Map<String, Object>> findByMyCloudPageList(int pageSize, int current, long userId);

    boolean updateOrder(CloudInventory inventory);
    boolean addOrder(CloudInventory inventory);
}
